package com.smedi.ismedi.constructionproject.api.dto.response;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.List;

/**
 * @Author: xulinjun
 * @Date: 2021-6-8 13:28
 */
@Data
@Accessors(chain = true)
public class ProjectTreeResponse implements Serializable {
    @ApiModelProperty(value = "企业组织id")
    private Long hrOrganizationId;

    @ApiModelProperty(value = "企业组织名称")
    private String hrOrganizationName;

    @ApiModelProperty(value = "企业组织简称")
    private String hrOrganizationShortName;

    @ApiModelProperty(value = "企业组织编码")
    private String hrOrganizationCode;

    @ApiModelProperty(value = "是否根节点")
    private boolean root;

    @ApiModelProperty(value = "项目列表")
    private List<ProjectBasicResponse> projectBasics;

    @ApiModelProperty(value = "下级企业组织")
    private List<ProjectTreeResponse> projectTrees;
}
